
<legend> 
    预订支付<small>|<?php echo $control->getAjaxLink(array('name' => '我的订单记录', 'id' => 'showMyBookingList'), array('paymentStatus' => 'paid')); ?>|</small>
    <small><?php echo $control->getAjaxLink(array('name' => '未支付订单', 'id' => 'showMyBookingList'), array('paymentStatus' => 'unpaid')); ?></small>

</legend>


<div class="form">    
    <p><strong>预订项数量：</strong><span class="text-warning"><?php echo $paidCount; ?></span></p>
    <p><strong>支付总金额：</strong><span class="text-primary"><?php echo $paidMoney; ?></span></p>
    <p>
        <?php
        if (Blyn::app()->getUIManager()->getSenderControl()->isAjaxLinkClicked('payNow')) {
            ?>
        <div class="well text-danger"><p>恭喜，你已经完成了支付！</p>
            <p>交易号：<?php echo $transactionId; ?></p>
            <p>进入我的订单记录查看结果！</p></div>
        <?php
    } else {
        echo $control->getAjaxLink(array('name' => '完成支付', 'id' => 'payNow'), array(
            'paidCount' => $paidCount,
            'paidMoney' => $paidMoney,
            'htmlOptions' => array('class' => 'btn')));
    }
    ?>
</p>
</div>

